package com.cms.fom.feign;

import com.cms.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("cms-stu")
public interface StuFeign {

    @RequestMapping("/stu/class/studentByClassAndNew")
    R studentByClassAndNew();

    @RequestMapping("/stu/student/infoByNum/{num}")
    R infoByNum(@PathVariable("num") String num);

    @RequestMapping("/stu/student/info/{id}")
    R info(@PathVariable("id") Long id);

}
